package org.zachary.prosocialbehaviorservice.domain.repository;

import org.zachary.prosocialbehaviorservice.domain.aggregate_model.activity.Activity;

import java.util.List;
import java.util.Optional;

public interface ActivityRepository{
    void save(Activity activity);
    Optional<Activity> findById(Integer id);
    void modify(Integer activityId,Activity activity);

    void deleteById(Integer id);

    List<Activity> findAllActivities();
}

